package Top100;


import DataStructure.arrayAndList.arrayTransformation.ReversalString;
import DataStructure.arrayAndList.arrayTransformation.ReversalString2;
import DataStructure.arrayAndList.arrayTransformation.ReversalString3;
import DataStructure.arrayAndList.list.listReverse.*;
import DataStructure.arrayAndList.matrix.Matrix_Reversal;

/**
 * @author liujun
 * @version 1.0
 * @date 2020/8/25
 * @author—Email ljfirst@mail.ustc.edu.cn
 * @blogURL https://blog.csdn.net/ljfirst
 * @description 反转
 * 字符串反转
 * 链表反转
 * 矩阵反转
 */

public interface Reversal {

    //String method(String s, char c1);
    default void Reversal() {
        // 字符串反转
        ReversalString rs = new ReversalString();
        ReversalString2 rs2 = new ReversalString2();
        ReversalString3 rs3 = new ReversalString3();

        // 链表反转
        ListReverseByMultiPoint lrs = new ListReverseByMultiPoint();
        ListReverseBySystemStack lrs2 = new ListReverseBySystemStack();
        // 两两交换链表中的节点
        ListSwapPairs lsp = new ListSwapPairs();
        ListReverseTwoPosition lt = new ListReverseTwoPosition();
        ListReversePartN ln = new ListReversePartN();

        // 矩阵反转
        Matrix_Reversal mrs = new Matrix_Reversal();
    }
}
